NevronOpenVision
Nevron.Nov.DataStructures Namespace / NMap<TKey,TValue> Class / TryGet Method
key to look for
value corresponding to key. Valid only if true is returned.
TryGet Method (NMap<TKey,TValue>)
Tries to get the value for the specified key.
Syntax
public System.bool TryGet( 
   TKey key,
   out TValue value
)

Parameters

key
key to look for
value
value corresponding to key. Valid only if true is returned.

Return Value

true if the map contained a value for the specified key, otherwise false
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also